import { ISysMeasureUnitGroup } from '/@/views/supplychain/sysmeasureunitgroup/api/interface';

export interface ISysMeasureUnit {
	ID?: string | null;
	Name: string | null;
	Code: string | null;
	MeasureUnitGroupId: null;
	MeasureUnitGroup?: ISysMeasureUnitGroup;
	ErpId: string | null;
	Description: string | null;
	State: '启用' | '禁用';
	Level: number;
	CreateTime: Date | null;
	UpdateTime: Date | null;
	CreateBy: string | null;
	UpdateBy: string | null;
	Remark: string | null;
	ParentId: null;
	Parent?: ISysMeasureUnit;
}

export interface ISysMeasureUnitVm {
	Entity: ISysMeasureUnit;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;

}

export interface ISysMeasureUnitView extends ISysMeasureUnit {

}

export interface ISysMeasureUnitQuery {
	Name?: string | null;
	Code?: string | null;
	MeasureUnitGroupId?: string | null;
	ErpId?: string | null;
	State?: number | null;
	ParentId?: string | null;
}